package com.mao.wx.demo.model.message;

import java.util.Map;

public class WxLocationMessage extends WxBasicMessage {
	
	private Double Location_X;
	private Double Location_Y;
	private Float Scale;
	private String Lable;
	
	public WxLocationMessage() {
	}
	
	public WxLocationMessage(Map<String,String> map) throws Exception{
		super(map);
		this.Location_X=Double.parseDouble(map.get("Location_X"));
		this.Location_Y=Double.parseDouble(map.get("Location_Y"));
		this.Scale=Float.parseFloat(map.get("Scale"));
		this.Lable=map.get("Lable");
	}

	public Double getLocationX() {
		return Location_X;
	}

	public void setLocationX(Double locationX) {
		this.Location_X = locationX;
	}

	public Double getLocationY() {
		return Location_Y;
	}

	public void setLocationY(Double locationY) {
		this.Location_Y = locationY;
	}

	public Float getScale() {
		return Scale;
	}

	public void setScale(Float scale) {
		this.Scale = scale;
	}

	public String getLable() {
		return Lable;
	}

	public void setLable(String lable) {
		this.Lable = lable;
	}
	
	
}
